<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		var arr1=[1,3,'hello',true,'jack']
		
		function fn(arr){
			
			for(var i=0;i<arr.length;i++){
				var arr2=arr.toString()
			}
			console.log(arr2)
		}
		fn(arr1)
		





  </script>
	
</head>
<body>
	
</body>
</html>